package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PostSellRequest {


    @ApiModelProperty("求购数量")
    @NotNull(message = "请输入求购数量")
    private Integer wantSellCount;

    @ApiModelProperty("单价")
    @NotNull(message = "请输入求购单价")
    private BigDecimal unitPrice;

    @ApiModelProperty("交易密码")
    @NotBlank(message = "请输入交易密码")
    private String dealPassword;
}
